package cn.yhp.chatgpt.data.trigger.http.dto;

import cn.yhp.chatgpt.data.domain.openai.model.entity.MessageEntity;
import cn.yhp.chatgpt.data.types.enums.ChatGPTModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author yhp
 * @description
 * @date 2024/2/1
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ChatGPTRequestDTO {

    /** 默认模型*/
    private String model= ChatGPTModel.CHATGLM_TURBO.getCode();

    /** 问题描述 */
    private List<MessageEntity> messages;
}
